<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%--
The taglib directive below imports the JSTL library. If you uncomment it,
you must also add the JSTL library to the project. The Add Library... action
on Libraries node in Projects view can be used to add the JSTL 1.1 library.
--%>
<%--
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
--%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Add Item</title>
    </head>
<body>
 <html:form action="additem">
        <h1>Add items here</h1>
        
        <table border="1">
           
            <tbody>
            <tr>
                    <td>User Id</td>
                    <th><input type="text" name="userId" value="" /></th>
                </tr>
                <tr>
                    <td>ISBN</td>
                    <td><input type="text" name="isbn" value="" /></td>
                </tr>
                <tr>
                    <td>Title</td>
                    <td><input type="text" name="title" value="" /></td>
                </tr>
                <tr>
                    <td>Description</td>
                    <td><input type="text" name="description" value="" /></td>
                </tr>
                <tr>
                    <td>Year</td>
                    <td><input type="text" name="year" value="" /></td>
                </tr>
                <tr>
                    <td>Rating</td>
                    <td><input type="text" name="rating" value="" /></td>
                </tr>
                <tr>
                    <td>Item Type</td>
                    <td><select name="itemType">
                            <option>Book</option>
                            <option>Magazine</option>
                            <option>DVD</option>
                    </select></td>
                </tr>
                <tr>
                    <td>Item Category</td>
                    <td><select name="itemCategory">
                            <option>Is Sellable</option>
                            <option>Reference</option>
                    </select></td>
                </tr>
                <tr>
                    <td>Publisher</td>
                    <td><input type="text" name="publisher" value="" /></td>
                </tr>
                
            </tbody>
            
            <html:submit value="Submit"/>
            <html:reset/>
        </table>
        
        <input type="submit" value="Submit" />
        <input type="reset" value="Reset" />
        <input type="button" value="Cancel" />
        
        
 </html:form>
 </body>
</html>

